package com.gopay.common.user.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.gopay.common.base.dao.impl.BaseDAOImpl;
import com.gopay.common.domain.cbrmb.CbCorpApply;
import com.gopay.common.user.dao.CbCorpApplyDAO;

@Repository("cbCorpApplyDAO")
public class CbCorpApplyDAOImpl extends BaseDAOImpl<CbCorpApply, String> implements CbCorpApplyDAO {

	@Override
	public CbCorpApply getCbCorpApplyByCustId(String custId) {
		return find(CbCorpApply.class, custId);
	}

	@Override
	public void addCbCorpApply(CbCorpApply cbCorpApply) {
		save(cbCorpApply);
	}

	@Override
	public void updateCbCorpApply(CbCorpApply cbCorpApply) {
		update(cbCorpApply);
	}

	@Override
	public List<CbCorpApply> getCbCorpApplyList() {
		// TODO Auto-generated method stub
		return null;
	}

}